package com.fqgj.xjd.user.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserContactEmergencyEntity;

import java.util.List;

/**
* User: zhangxingyun
* Date: 2017-07-20
* Time: 18:38:53.081
*/

public interface UserContactEmergencyDao  extends BaseMapper<UserContactEmergencyEntity> {

    UserContactEmergencyEntity selectByUserCode(String userCode);

    int updateByUserCode(String userCode, UserContactEmergencyEntity entity);

    List<UserContactEmergencyEntity> selectByFamilyMobile(String userCode, String mobile);

    List<UserContactEmergencyEntity> selectByFriendMobile(String userCode, String mobile);
}